﻿<Grid 
    x:Name="theGrid"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="clr-namespace:App">
    <Grid.RowDefinitions>
        <RowDefinition Height="Auto"/>
        <RowDefinition Height="*"/>
    </Grid.RowDefinitions>
    <Menu x:Name="MainMenu" Grid.Row="0">
        <Menu.Items>
            <MenuItem  Header="_File">
                <MenuItem.Items>
                    <MenuItem Header="E_xit" Command="{Binding Path=ExitCommand}"/>                    
                </MenuItem.Items>
            </MenuItem>
            <MenuItem x:Name="ThemeMenu" Header="T_hemes">
                <MenuItem.Items>
                    <MenuItem Header="Bureau Black"   Name="BureauBlack" IsCheckable="True" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" Command="{Binding Path=ThemeCommand}"/>
                    <MenuItem Header="Bureau Blue"  Name="BureauBlue"  IsCheckable="True" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" Command="{Binding Path=ThemeCommand}"/>
                    <MenuItem Header="Expression Dark"  Name="ExpressionDark" IsChecked="True" IsCheckable="True" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" Command="{Binding Path=ThemeCommand}"/>
                    <MenuItem Header="Expression Light"  Name="ExpressionLight"  IsCheckable="True" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" Command="{Binding Path=ThemeCommand}"/>
                    <MenuItem Header="Shiny Blue"  Name="ShinyBlue" IsCheckable="True" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" Command="{Binding Path=ThemeCommand}"/>
                    <MenuItem Header="Shiny Red"  Name="ShinyRed" IsCheckable="True" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" Command="{Binding Path=ThemeCommand}"/>
                    <MenuItem Header="Whistler Blue" Name="WhistlerBlue" IsCheckable="True" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" Command="{Binding Path=ThemeCommand}"/>
                    <MenuItem Header="Default" Name="Default" IsCheckable="True" CommandParameter="{Binding RelativeSource={x:Static RelativeSource.Self}}" Command="{Binding Path=ThemeCommand}"/>
                </MenuItem.Items>
            </MenuItem>
            <MenuItem Header="_Help">
                <MenuItem.Items>
                    <MenuItem Header="_About..." Command="{Binding Path=AboutCommand}"/>
                </MenuItem.Items>
            </MenuItem>            
        </Menu.Items>
    </Menu>
    <Grid Grid.Row="1" x:Name="mainGrid">
        
    </Grid>
</Grid>
